package com.syp.jrx.service;


import com.syp.jrx.mapper.CustomerMapper;
import com.syp.jrx.model.Customer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CustomerService {

    @Autowired
    private CustomerMapper customerMapper;

    public Customer selectById(int cust_id){
        return customerMapper.selectById(cust_id);
    }

    public int insertCustomer(Customer customer){
        return customerMapper.insertCustomer(customer);
    }

    public int updateEduca(int cust_id,String educa_des){
        return customerMapper.updateEduca(cust_id,educa_des);
    }



}
